<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="menuListCss" jsFile="menuListJs" current="模块信息">
    <div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
                <div class="page-title">
                    <h1>模块信息管理
                        <small>管理功能模块页面</small>
                    </h1>
                </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD -->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">模块信息管理</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="col-md-12 col-sm-12 search-form">
                <form id="menuSearchForm" action="" method="post">
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">功能编码</span>
                        <input name="function_code" class="form-control col-md-4" placeholder="功能编码"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">功能名称</span>
                        <input name="function_name" class="form-control" placeholder="功能名称"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">状态</span>
                        <select name="data_status" id="createDate" class="form-control" placeholder="状态" >
                        		<option value="" >请选择</option>
                        		<option value="DATA_AVAILABLE" >启用</option>
                        		<option value="DATA_DISABLE" >停用</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">所属系统</span>
                          <select name="system_code" id="system_code_" class="form-control" placeholder="所属系统" >
                          		<option value="" >请选择</option>
                        		<option value="USER_CENTER" >后台管理</option>
                        		<option value="COMPANY" >企业应用</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-12 col-sm-12">
                    	<div class="col-md-offset-5">
                            <a href="javascript:;" class="btn btn-success " name="search" id="menuSearch">查询</a>
                            <a href="javascript:;" class="btn btn-default " name="reset" id="menuReset">清空</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12 col-sm-12">
                <!-- BEGIN PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-title">
                        <div class="caption">
                            <a href="${context}/function_info/view_add" class="btn btn-success" id="btnCreateCom">创建栏目</a>
                            <!-- <i class="icon-layers font-green"></i>
                            <span class="caption-subject font-green bold uppercase">公司列表</span> -->
                        </div>
                        <div class="tools"> </div>
                    </div>
                    <div class="portlet-body">
                        <div class="caption">
                            <div id="tips" class="tips"></div>
                        </div>
                        <table class="table table-striped table-bordered table-hover" id="menuList">
                            <thead>
                                <tr role="row" class="heading">
                                    <th width="15%"> 系统 </th>
                                    <th width="10%"> 功能编码 </th>
                                    <th width="200"> 功能名称 </th>
                                    <th width="7%"> 上级 </th>
                                    <th width="20%"> 功能描述 </th>
                                    <th width="3%"> 排序号 </th>
                                    <th width="7%"> 状态 </th>
                                    <th width="25%"> 操作 </th>
                                </tr>
                            </thead>
                            <tbody>
                              
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END PORTLET-->
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
        <!-- Dialog Hidden -->
            <div class='row hide'>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">系统</label>
                        <div class="input-group-content">
                           
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">功能编码</label>
                        <div class="input-group-content">
                            <input type="text" id="companyName" name="companyName" class="form-control" placeholder="手动编辑（全功能唯一）" value='' />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">功能名称</label>
                        <div class="input-group-content">
                            <input type="text" id="companyName" name="companyName" class="form-control" placeholder="手动编辑（全功能唯一）" value='' />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">功能地址</label>
                        <div class="input-group-content">
                            <input type="text" id="companyName" name="companyName" class="form-control" placeholder="手动编辑" value='' />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">上级功能</label>
                        <div class="input-group-content">
                            <select name="companyType" class="form-control input-inline">
                             
                            </select>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">状态</label>
                        <div class="input-group-content">
                            <select name="companyType" class="form-control input-inline">
                              
                            </select>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <label class="input-group-addon">功能描述</label>
                        <div class="input-group-content">
                            <input type="text" id="companyName" name="companyName" class="form-control" placeholder="" value='' />
                        </div>
                    </div>
                </div>
                <div class="form-actions top">
                    <div class="row">
                        <button type="submit" id="btnSubmit" class="btn green">保存</button>
                        <button id="btnBack" type="button" class="btn default">返回</button>
                    </div>
                </div>
            </div>        
        <!-- End Dialog Hidden -->
    </div>
</@page.mainTemplate>